﻿using SheepStorage.Domain.DTO.Output;
using SheepStorage.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
//引用api Baseclass的分页类 

namespace SheepStorage.Service.Interface
{
    /// <summary>
    /// 企业服务接口
    /// </summary>
    public interface IEnterpriseService
    {
       

        /// <summary>
        /// 企业添加
        /// </summary>
        /// <param name="enterprise"></param>
        /// <returns></returns>
        Task<int> AddEnterprises(Enterprise enterprise);

        /// <summary>
        /// 企业显示
        /// </summary>
        /// <returns></returns>
        Task<PageOutput<Enterprise>> GetEnterprises(string? EnterpriseName,int pageIndex,int pageSize);

        /// <summary>
        /// 企业删除
        /// </summary>
        /// <param name="EnterpriseId"></param>
        /// <returns></returns>
        int DeleteEnterprises(int EnterpriseId);

       






    }
}
